package cn.com.qiancheng.service;

import java.util.List;

import cn.com.qiancheng.dao.ResultsDao;
import cn.com.qiancheng.dto.Results;

public class ResultsService {
	public int insertResults(int stuId,int evaId,List<Integer> qId,List<Integer> anId){
		int t= 0;
		Results res = new Results();
		res.setStuId(stuId);
		res.setEvaId(evaId);
		res.setqId(qId);
		res.setAnId(anId);
		ResultsDao resd = new ResultsDao();
		t = resd.insertRes(res);
		return t;
	}
}
